package
{
	import flash.display.MovieClip;
	import flash.text.TextField;
	
	/**
	 * ...
	 * @author Jonathan Chen
	 */
	public class ScoreBoard extends MovieClip
	{
		private var score:Number = 0;
		public var scoreText:TextField;
		
		public function ScoreBoard()
		{
			scoreText.text = "0";
		}
		
		public function get Score() { return score; }
		
		public function AddPoint(points:Number):void
		{
			score += points;
			scoreText.text = score.toString();
		}
		
		public function ResetScore() { score = 0; }
		
	}

}